﻿<%@ Page Title="Solicitud Servicio" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage.master" CodeBehind="solicitudservicio.aspx.vb" Inherits="HelpDesk.solicitudservicio" %>
<%@ Register assembly="DevExpress.Web.v10.1, Version=10.1.5.0, Culture=neutral, PublicKeyToken=940cfcde86f32efd" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v10.1, Version=10.1.5.0, Culture=neutral, PublicKeyToken=940cfcde86f32efd" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register src="../Menu/DefaultMenuEmpleado.ascx" tagname="DefaultMenuEmpleado" tagprefix="uc1" %>



<asp:Content ID="Content1" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ScriptIncludePlaceHolder" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 6px;
        }
        .style3
        {
            height: 20px;
        }
        .style4
        {
            text-align: center;
        }
    </style>

    <script type="text/javascript" language="JavaScript">
        window.addEventListener('focus', function () {
            document.title = 'Solicitud de Servicio';
        });

        window.addEventListener('blur', function () {
            document.title = '| GRUPO INCONHSA | HelpDesk';
        });
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MenuContentPlaceHolder" runat="server">
    <uc1:DefaultMenuEmpleado ID="DefaultMenuEmpleado1" runat="server" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="SheetContentPlaceHolder" runat="server">

    <table class="style1">
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                <table class="style1">
                    <tr>
                        <td class="style2">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style2">
                            &nbsp;</td>
                        <td>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                            &nbsp;</td>
                        <td>
                            <dx:ASPxRoundPanel ID="ASPxRoundPanel11" runat="server" ClientIDMode="AutoID" 
                                CssFilePath="~/App_Themes/Glass/{0}/styles.css" CssPostfix="Glass" 
                                GroupBoxCaptionOffsetY="-24px" HeaderText="Nueva Solicitud de Servicio" 
                                Height="761px" HorizontalAlign="NotSet" 
                                SpriteCssFilePath="~/App_Themes/Glass/{0}/sprite.css" Width="680px">
                                <ContentPaddings PaddingBottom="10px" PaddingLeft="4px" PaddingTop="10px" />
<HeaderImage Align="NotSet"></HeaderImage>

<HeaderStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default" Height="23px">
                                <Paddings PaddingBottom="0px" PaddingLeft="2px" PaddingTop="0px" />
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</HeaderStyle>

<GroupBoxHeaderStyle Wrap="Default">
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</GroupBoxHeaderStyle>

<TopLeftCorner Align="NotSet"></TopLeftCorner>

<NoHeaderTopLeftCorner Align="NotSet"></NoHeaderTopLeftCorner>

<TopRightCorner Align="NotSet"></TopRightCorner>

<NoHeaderTopRightCorner Align="NotSet"></NoHeaderTopRightCorner>

<BottomRightCorner Align="NotSet"></BottomRightCorner>

<BottomLeftCorner Align="NotSet"></BottomLeftCorner>

<HeaderLeftEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderLeftEdge>

<HeaderContent>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderContent>

<HeaderRightEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderRightEdge>

<NoHeaderTopEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</NoHeaderTopEdge>

<TopEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</TopEdge>

<RightEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</RightEdge>

<BottomEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</BottomEdge>

<LeftEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</LeftEdge>

<Content>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</Content>
<PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">
    <table class="style1">
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td>
                <asp:ValidationSummary ID="ValidationSummary2" runat="server" 
                    ForeColor="#CC0000" style="text-align: left" />
            </td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style4">
                <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" ClientIDMode="AutoID" 
                    CssFilePath="~/App_Themes/Glass/{0}/styles.css" CssPostfix="Glass" 
                    GroupBoxCaptionOffsetY="-24px" HeaderText="Procedencía" 
                    HorizontalAlign="NotSet" SpriteCssFilePath="~/App_Themes/Glass/{0}/sprite.css" 
                    Width="629px">
                    <ContentPaddings PaddingBottom="10px" PaddingLeft="4px" PaddingTop="10px" />
                    <HeaderImage Align="NotSet">
                    </HeaderImage>
                    <HeaderStyle Height="23px" HorizontalAlign="NotSet" VerticalAlign="NotSet" 
                        Wrap="Default">
                    <Paddings PaddingBottom="0px" PaddingLeft="2px" PaddingTop="0px" />
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    </HeaderStyle>
                    <GroupBoxHeaderStyle Wrap="Default">
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </GroupBoxHeaderStyle>
                    <TopLeftCorner Align="NotSet">
                    </TopLeftCorner>
                    <NoHeaderTopLeftCorner Align="NotSet">
                    </NoHeaderTopLeftCorner>
                    <TopRightCorner Align="NotSet">
                    </TopRightCorner>
                    <NoHeaderTopRightCorner Align="NotSet">
                    </NoHeaderTopRightCorner>
                    <BottomRightCorner Align="NotSet">
                    </BottomRightCorner>
                    <BottomLeftCorner Align="NotSet">
                    </BottomLeftCorner>
                    <HeaderLeftEdge>
                        <BackgroundImage Repeat="Repeat" />
                    </HeaderLeftEdge>
                    <HeaderContent>
                        <BackgroundImage Repeat="Repeat" />
                    </HeaderContent>
                    <HeaderRightEdge>
                        <BackgroundImage Repeat="Repeat" />
                    </HeaderRightEdge>
                    <NoHeaderTopEdge>
                        <BackgroundImage Repeat="Repeat" />
                    </NoHeaderTopEdge>
                    <TopEdge>
                        <BackgroundImage Repeat="Repeat" />
                    </TopEdge>
                    <RightEdge>
                        <BackgroundImage Repeat="Repeat" />
                    </RightEdge>
                    <BottomEdge>
                        <BackgroundImage Repeat="Repeat" />
                    </BottomEdge>
                    <LeftEdge>
                        <BackgroundImage Repeat="Repeat" />
                    </LeftEdge>
                    <Content>
                        <BackgroundImage Repeat="Repeat" />
                    </Content>
                    <PanelCollection>
                        <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                            <table class="style1">
                                <tr>
                                    <td class="art-postheadericons">
                                        Solicitante:</td>
                                    <td class="art-postheadericons">
                                        <asp:TextBox ID="txtSolicitante1" runat="server" Width="420px"></asp:TextBox>
                                    </td>
                                    <td class="art-postheadericons">
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="art-postheadericons">
                                        Empresa:</td>
                                    <td class="art-postheadericons">
                                        <asp:DropDownList ID="comoempresa1" runat="server" 
                                            DataSourceID="ObjectDataSource1EmpresaproblemaSolicitud" 
                                            DataTextField="nombreempresa" DataValueField="empresaid" Width="420px">
                                        </asp:DropDownList>
                                    </td>
                                    <td class="art-postheadericons">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                            ControlToValidate="comoempresa1" ErrorMessage="*Escoja una empresa" 
                                            Font-Size="X-Large" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="art-postheadericons">
                                        Departamento:</td>
                                    <td class="art-postheadericons">
                                        <asp:DropDownList ID="combodepto1" runat="server" 
                                            DataSourceID="ObjectDataSource1DepartamentoproblemaSolicitud" 
                                            DataTextField="descripcion" DataValueField="departamentoid" Width="420px">
                                        </asp:DropDownList>
                                    </td>
                                    <td class="art-postheadericons">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                            ControlToValidate="combodepto1" ErrorMessage="*Escoja su departamento" 
                                            Font-Size="X-Large" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    <DisabledStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </DisabledStyle>
                </dx:ASPxRoundPanel>
            </td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style4">
                Tipo de Servicio:</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:DropDownList ID="combotiposolicitud1" runat="server" 
                    DataSourceID="ObjectDataSource1" DataTextField="descripcion" 
                    DataValueField="servicioid" Width="600px">
                </asp:DropDownList>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="combotiposolicitud1" 
                    ErrorMessage="*Seleccione un tipo de servicio" Font-Size="X-Large" 
                    ForeColor="#FF3300">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                </td>
            <td class="style3">
                </td>
            <td class="style3">
                </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td style="text-align: center">
                Descripción de la solicitud:</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:TextBox ID="txtdescrip1" runat="server" Height="200px" TextMode="MultiLine" 
                    Width="600px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtdescrip1" Enabled="False" 
                    ErrorMessage="*Escriba una pequeña descripción de su solicitud" 
                    Font-Size="X-Large" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style4">
                <asp:Button ID="Button11" runat="server" BackColor="#0099CC" ForeColor="White" 
                    Height="35px" Text="   Enviar" Width="78px" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button22" runat="server" BackColor="#006600" ForeColor="White" 
                    Height="35px" Text="Regresar" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </dx:PanelContent>
</PanelCollection>

<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>

<DisabledStyle>
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</DisabledStyle>
                            </dx:ASPxRoundPanel>
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                <asp:ObjectDataSource ID="ObjectDataSource1DepartamentoproblemaSolicitud" 
                    runat="server" DeleteMethod="Delete" InsertMethod="Insert" 
                    OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
                    TypeName="HelpDesk.DataSet1TableAdapters.departamentosTableAdapter" 
                    UpdateMethod="Update">
                    <DeleteParameters>
                        <asp:Parameter Name="Original_departamentoid" Type="Int64" />
                    </DeleteParameters>
                    <InsertParameters>
                        <asp:Parameter Name="departamentoid" Type="Int64" />
                        <asp:Parameter Name="descripcion" Type="String" />
                    </InsertParameters>
                    <UpdateParameters>
                        <asp:Parameter Name="descripcion" Type="String" />
                        <asp:Parameter Name="Original_departamentoid" Type="Int64" />
                    </UpdateParameters>
                </asp:ObjectDataSource>
                <asp:ObjectDataSource ID="ObjectDataSource1EmpresaproblemaSolicitud" 
                    runat="server" DeleteMethod="Delete" InsertMethod="Insert" 
                    OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
                    TypeName="HelpDesk.DataSet1TableAdapters.empresasTableAdapter" 
                    UpdateMethod="Update">
                    <DeleteParameters>
                        <asp:Parameter Name="Original_empresaid" Type="Int64" />
                    </DeleteParameters>
                    <InsertParameters>
                        <asp:Parameter Name="empresaid" Type="Int64" />
                        <asp:Parameter Name="nombreempresa" Type="String" />
                        <asp:Parameter Name="gerentegeneral" Type="String" />
                        <asp:Parameter Name="telefonoempresa" Type="Decimal" />
                        <asp:Parameter Name="email" Type="String" />
                        <asp:Parameter Name="sitioweb" Type="String" />
                        <asp:Parameter Name="observacion" Type="String" />
                        <asp:Parameter Name="direccion" Type="String" />
                    </InsertParameters>
                    <UpdateParameters>
                        <asp:Parameter Name="nombreempresa" Type="String" />
                        <asp:Parameter Name="gerentegeneral" Type="String" />
                        <asp:Parameter Name="telefonoempresa" Type="Decimal" />
                        <asp:Parameter Name="email" Type="String" />
                        <asp:Parameter Name="sitioweb" Type="String" />
                        <asp:Parameter Name="observacion" Type="String" />
                        <asp:Parameter Name="direccion" Type="String" />
                        <asp:Parameter Name="Original_empresaid" Type="Int64" />
                    </UpdateParameters>
                </asp:ObjectDataSource>
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    DeleteMethod="Delete" InsertMethod="Insert" 
                    OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
                    TypeName="HelpDesk.DataSet1TableAdapters.serviciosTableAdapter" 
                    UpdateMethod="Update">
                    <DeleteParameters>
                        <asp:Parameter Name="Original_servicioid" Type="Int64" />
                    </DeleteParameters>
                    <InsertParameters>
                        <asp:Parameter Name="servicioid" Type="Int64" />
                        <asp:Parameter Name="descripcion" Type="String" />
                    </InsertParameters>
                    <UpdateParameters>
                        <asp:Parameter Name="descripcion" Type="String" />
                        <asp:Parameter Name="Original_servicioid" Type="Int64" />
                    </UpdateParameters>
                </asp:ObjectDataSource>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
